package com.xy.test.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "seata-stock",configuration = MultipartSupportConfig.class)
public interface MyFeignClient {

    @GetMapping("/stock/desc")
    void desc(@RequestBody Integer prodId);

    @GetMapping("/stock/tccDesc")
    void tccDesc(@RequestBody Integer prodId);
}